Fix types used in xc_memshr_* functions
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>
Tue, 10 Jan 2012 15:38:08 +0000 (15:38 +0000)
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>
Tue, 10 Jan 2012 15:38:08 +0000 (15:38 +0000)
commitb4ec697c64c6f29e9593ae22c66dd8d47dc35a39
treedf60e653fc7e68e32efdb72fac7373616fd36545
parente9f7017afe06053b9f2fa297b4076cffcfbba6e2
Fix types used in xc_memshr_* functions

Currently the memshr functions use uint32_t for the domid.  This actually leads
to a funny domid_t -> uint32_t -> domid_t sequence of casts.  This patch
updates the API functions to be domid_t in the first place.

No tools need to be modified with this patch, the casts were implicit.

Signed-off-by: Adin Scannell <adin@scannell.ca>
Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxc/xc_memshr.c
tools/libxc/xenctrl.h